package com.yuehuanghun.admin.core.domain;

import javax.persistence.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;

import lombok.Data;

/**
 * 用户和角色关联 sys_user_role
 * 
 * @author yadmin
 */
@Data
@Entity
public class SysUserRole
{
    /** 用户ID */
	@JsonFormat(shape = Shape.STRING)
    private Long userId;
    
    /** 角色ID */
	@JsonFormat(shape = Shape.STRING)
    private Long roleId;
}
